public class Student {
    public String name;
    public String sex;
    public int age;
    public double score;

    public void doClass() {
        System.out.println("上课");
    }

    public void doHome() {
        System.out.println("回家");
    }

    public void exam() {

    }
}
